
package com.wwy.monitor.model.enumeration;

/**
 * @author tianquan.ld
 * @version V1.0
 * <p>Description: 环境枚举</p>
 * @date 2019-10-29 16:49
 */
public enum EnvTypeEnum {

    LOCAL(1, "本地环境"),
    DAILY(2, "日常环境"),
    SIT(3, "SIT环境"),
    PRE_PUB(4, "预发环境"),
    PUBLISH(5, "生产环境"),
    ;

    /**
     * 状态码
     */
    private Integer code;
    /**
     * 状态描述
     */
    private String desc;

    EnvTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}